package com.cq.hd.product.service;

import com.cq.hd.product.api.dto.ActiveShareStatisticsDto;
import com.cq.hd.product.api.vo.ActiveAgentShareCountVo;
import com.cq.hd.product.api.vo.ActiveShareRecordVo;
import com.cq.hd.product.api.vo.ActiveShareStatisticsVo;
import com.cq.hd.product.po.TbActiveSharePo;
import com.baomidou.mybatisplus.extension.service.IService;

import java.util.List;

/**
 * <p>
 * 活动分享记录表 服务类
 * </p>
 *
 * @author mYunYu
 * @since 2023-11-23
 */
public interface TbActiveShareService extends IService<TbActiveSharePo> {

    ActiveShareRecordVo getByCode(String code, Long activeId);

    List<ActiveShareStatisticsVo> listByDto(ActiveShareStatisticsDto activeShareStatisticsDto);

    List<ActiveAgentShareCountVo> getAgentShareCountByActiveIds(List<Long> activeIds);
}
